<div ng-if="pagedata.showmp3" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showmp3=false"></i>
			<div class="c bold" style="padding-top:0.7rem">对话音频</div>
			<div class="fui-cell-group" style="max-height:22rem;overflow-y:scroll;padding:0 0.5rem;-webkit-overflow-scrolling: touch;">
				<div class="fui-cell" ng-repeat="item in pagedata.list">
					<div class="fui-cell-text">
						<div class="text" ng-click="pagedata.item.title=data.item.content;pagedata.item.embedding=data.item.embedding;pagedata.item.logid=data.item.id;pagedata.item.mp3=data.item.mp3;pagedata.showmp3=false">
						{{item.content}}
						</div>
					</div>
					<div class="fui-cell-remark noremark">
						<span>
						<i onclick="play_audio($(this).next())" ng-click="pagedata.pausePlay($index)" class="icon {{pagedata.playkey!=index?'icon-iconfontplay2':'icon-iconfontstop'}} bold" style="color:#7783EA;font-size:0.75rem"></i>
						<audio style="display:none;" ng-src="{{tomedia(item.mp3)}}" loop="loop"></audio>
						</span>
					</div>
				</div>
			</div>
			<div class="content-empty" ng-if="!pagedata.list || pagedata.list.length == 0">
					<img style="border-radius: 100%;width:2rem;height:2rem" src="../addons/jy_aiagent/resource/images/goods.png" />
					<div style="padding-top:0.3rem;color: #999;font-size: 0.75rem">暂时没有对话音频</div>
			</div>
		</div>
	</div>
</div>
<script>
scope.tool.get_list('jy_aiagent/shengwen/getmp3s/',true);
scope.pagedata.scroll_bottom=function(){
		scope.tool.get_list('jy_aiagent/shengwen/getmp3s/');
}
</script>